﻿#include"XQSurfacePlotWidget.h"
#include"XQGraphicsViewWidget.h"
#include"XQAnimationButton.h"
#include"XQFileSelectionWidget.h"
#include<QMenu>
#include<QFileInfo>
#include<QFileDialog>
#include<QFile>
void XQSurfacePlotWidget::resizeEvent(QResizeEvent* event)
{
	if (!m_imageFile.isEmpty())
		return;
	//还没有选择图片
	init_addPixmap();
}
void XQSurfacePlotWidget::contextMenuEvent(QContextMenuEvent* event)
{
	contextMenu();
}